<template>
  <div class="car-type-num">
    <div class="bus-num intercity-bus">
      <div>
        <span>0</span>
        <span>长途客车</span>
      </div>
    </div>
    <div class="bus-num taxi">
      <div>
        <span>0</span>
        <span>出租车</span>
      </div>
    </div>
    <div class="bus-num">
      <div>
        <span>4</span>
        <span>公交车</span>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component({
  name: 'car-type-num'
})
export default class CarTypeNum extends Vue {}
</script>

<style lang="scss" scoped>
.car-type-num {
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  .bus-num {
    box-sizing: border-box;
    width: 418px;
    height: 124px;
    background: url('../../../../../assets/images/situational-awareness/gongjiaoche.png') no-repeat center;
    background-size: 100% 100%;
    margin: 0px auto;
    padding: 30px 0px 36px 0;
    div {
      box-sizing: border-box;
      width: calc(100% - 159px);
      margin-left: 159px;
      // border-left: 1px solid #62a2cd;
      border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), #23b7cb) 1 10;
      padding-left: 30px;
      span:nth-child(1) {
        display: block;
        color: #ffffff;
        font-size: 30px;
        font-family: 'PingFang Simple Bold';
        text-align: left;
      }
      span:nth-child(2) {
        display: block;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.76);
        font-family: 'PingFang Regular';
        text-align: left;
      }
    }
  }
  .intercity-bus {
    background: url('../../../../../assets/images/situational-awareness/changtukeche.png') no-repeat center;
  }
  .taxi {
    background: url('../../../../../assets/images/situational-awareness/chuzuche.png') no-repeat center;
  }
}
</style>
